package com.quanyan.runningriding.entity.db;

import com.quanyan.common.Plugin.Page;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbRunBuriedPointExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbRunBuriedPointExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Byte value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Byte value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Byte value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Byte value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Byte value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Byte> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Byte> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Byte value1, Byte value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andModuleIsNull() {
            addCriterion("module is null");
            return (Criteria) this;
        }

        public Criteria andModuleIsNotNull() {
            addCriterion("module is not null");
            return (Criteria) this;
        }

        public Criteria andModuleEqualTo(Byte value) {
            addCriterion("module =", value, "module");
            return (Criteria) this;
        }

        public Criteria andModuleNotEqualTo(Byte value) {
            addCriterion("module <>", value, "module");
            return (Criteria) this;
        }

        public Criteria andModuleGreaterThan(Byte value) {
            addCriterion("module >", value, "module");
            return (Criteria) this;
        }

        public Criteria andModuleGreaterThanOrEqualTo(Byte value) {
            addCriterion("module >=", value, "module");
            return (Criteria) this;
        }

        public Criteria andModuleLessThan(Byte value) {
            addCriterion("module <", value, "module");
            return (Criteria) this;
        }

        public Criteria andModuleLessThanOrEqualTo(Byte value) {
            addCriterion("module <=", value, "module");
            return (Criteria) this;
        }

        public Criteria andModuleIn(List<Byte> values) {
            addCriterion("module in", values, "module");
            return (Criteria) this;
        }

        public Criteria andModuleNotIn(List<Byte> values) {
            addCriterion("module not in", values, "module");
            return (Criteria) this;
        }

        public Criteria andModuleBetween(Byte value1, Byte value2) {
            addCriterion("module between", value1, value2, "module");
            return (Criteria) this;
        }

        public Criteria andModuleNotBetween(Byte value1, Byte value2) {
            addCriterion("module not between", value1, value2, "module");
            return (Criteria) this;
        }

        public Criteria andPageIsNull() {
            addCriterion("page is null");
            return (Criteria) this;
        }

        public Criteria andPageIsNotNull() {
            addCriterion("page is not null");
            return (Criteria) this;
        }

        public Criteria andPageEqualTo(Byte value) {
            addCriterion("page =", value, "page");
            return (Criteria) this;
        }

        public Criteria andPageNotEqualTo(Byte value) {
            addCriterion("page <>", value, "page");
            return (Criteria) this;
        }

        public Criteria andPageGreaterThan(Byte value) {
            addCriterion("page >", value, "page");
            return (Criteria) this;
        }

        public Criteria andPageGreaterThanOrEqualTo(Byte value) {
            addCriterion("page >=", value, "page");
            return (Criteria) this;
        }

        public Criteria andPageLessThan(Byte value) {
            addCriterion("page <", value, "page");
            return (Criteria) this;
        }

        public Criteria andPageLessThanOrEqualTo(Byte value) {
            addCriterion("page <=", value, "page");
            return (Criteria) this;
        }

        public Criteria andPageIn(List<Byte> values) {
            addCriterion("page in", values, "page");
            return (Criteria) this;
        }

        public Criteria andPageNotIn(List<Byte> values) {
            addCriterion("page not in", values, "page");
            return (Criteria) this;
        }

        public Criteria andPageBetween(Byte value1, Byte value2) {
            addCriterion("page between", value1, value2, "page");
            return (Criteria) this;
        }

        public Criteria andPageNotBetween(Byte value1, Byte value2) {
            addCriterion("page not between", value1, value2, "page");
            return (Criteria) this;
        }

        public Criteria andStatisticalItemsIsNull() {
            addCriterion("statistical_items is null");
            return (Criteria) this;
        }

        public Criteria andStatisticalItemsIsNotNull() {
            addCriterion("statistical_items is not null");
            return (Criteria) this;
        }

        public Criteria andStatisticalItemsEqualTo(Integer value) {
            addCriterion("statistical_items =", value, "statisticalItems");
            return (Criteria) this;
        }

        public Criteria andStatisticalItemsNotEqualTo(Integer value) {
            addCriterion("statistical_items <>", value, "statisticalItems");
            return (Criteria) this;
        }

        public Criteria andStatisticalItemsGreaterThan(Integer value) {
            addCriterion("statistical_items >", value, "statisticalItems");
            return (Criteria) this;
        }

        public Criteria andStatisticalItemsGreaterThanOrEqualTo(Integer value) {
            addCriterion("statistical_items >=", value, "statisticalItems");
            return (Criteria) this;
        }

        public Criteria andStatisticalItemsLessThan(Integer value) {
            addCriterion("statistical_items <", value, "statisticalItems");
            return (Criteria) this;
        }

        public Criteria andStatisticalItemsLessThanOrEqualTo(Integer value) {
            addCriterion("statistical_items <=", value, "statisticalItems");
            return (Criteria) this;
        }

        public Criteria andStatisticalItemsIn(List<Integer> values) {
            addCriterion("statistical_items in", values, "statisticalItems");
            return (Criteria) this;
        }

        public Criteria andStatisticalItemsNotIn(List<Integer> values) {
            addCriterion("statistical_items not in", values, "statisticalItems");
            return (Criteria) this;
        }

        public Criteria andStatisticalItemsBetween(Integer value1, Integer value2) {
            addCriterion("statistical_items between", value1, value2, "statisticalItems");
            return (Criteria) this;
        }

        public Criteria andStatisticalItemsNotBetween(Integer value1, Integer value2) {
            addCriterion("statistical_items not between", value1, value2, "statisticalItems");
            return (Criteria) this;
        }

        public Criteria andDauIsNull() {
            addCriterion("dau is null");
            return (Criteria) this;
        }

        public Criteria andDauIsNotNull() {
            addCriterion("dau is not null");
            return (Criteria) this;
        }

        public Criteria andDauEqualTo(Long value) {
            addCriterion("dau =", value, "dau");
            return (Criteria) this;
        }

        public Criteria andDauNotEqualTo(Long value) {
            addCriterion("dau <>", value, "dau");
            return (Criteria) this;
        }

        public Criteria andDauGreaterThan(Long value) {
            addCriterion("dau >", value, "dau");
            return (Criteria) this;
        }

        public Criteria andDauGreaterThanOrEqualTo(Long value) {
            addCriterion("dau >=", value, "dau");
            return (Criteria) this;
        }

        public Criteria andDauLessThan(Long value) {
            addCriterion("dau <", value, "dau");
            return (Criteria) this;
        }

        public Criteria andDauLessThanOrEqualTo(Long value) {
            addCriterion("dau <=", value, "dau");
            return (Criteria) this;
        }

        public Criteria andDauIn(List<Long> values) {
            addCriterion("dau in", values, "dau");
            return (Criteria) this;
        }

        public Criteria andDauNotIn(List<Long> values) {
            addCriterion("dau not in", values, "dau");
            return (Criteria) this;
        }

        public Criteria andDauBetween(Long value1, Long value2) {
            addCriterion("dau between", value1, value2, "dau");
            return (Criteria) this;
        }

        public Criteria andDauNotBetween(Long value1, Long value2) {
            addCriterion("dau not between", value1, value2, "dau");
            return (Criteria) this;
        }

        public Criteria andAccessAmountIsNull() {
            addCriterion("access_amount is null");
            return (Criteria) this;
        }

        public Criteria andAccessAmountIsNotNull() {
            addCriterion("access_amount is not null");
            return (Criteria) this;
        }

        public Criteria andAccessAmountEqualTo(Long value) {
            addCriterion("access_amount =", value, "accessAmount");
            return (Criteria) this;
        }

        public Criteria andAccessAmountNotEqualTo(Long value) {
            addCriterion("access_amount <>", value, "accessAmount");
            return (Criteria) this;
        }

        public Criteria andAccessAmountGreaterThan(Long value) {
            addCriterion("access_amount >", value, "accessAmount");
            return (Criteria) this;
        }

        public Criteria andAccessAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("access_amount >=", value, "accessAmount");
            return (Criteria) this;
        }

        public Criteria andAccessAmountLessThan(Long value) {
            addCriterion("access_amount <", value, "accessAmount");
            return (Criteria) this;
        }

        public Criteria andAccessAmountLessThanOrEqualTo(Long value) {
            addCriterion("access_amount <=", value, "accessAmount");
            return (Criteria) this;
        }

        public Criteria andAccessAmountIn(List<Long> values) {
            addCriterion("access_amount in", values, "accessAmount");
            return (Criteria) this;
        }

        public Criteria andAccessAmountNotIn(List<Long> values) {
            addCriterion("access_amount not in", values, "accessAmount");
            return (Criteria) this;
        }

        public Criteria andAccessAmountBetween(Long value1, Long value2) {
            addCriterion("access_amount between", value1, value2, "accessAmount");
            return (Criteria) this;
        }

        public Criteria andAccessAmountNotBetween(Long value1, Long value2) {
            addCriterion("access_amount not between", value1, value2, "accessAmount");
            return (Criteria) this;
        }

        public Criteria andClickTimesIsNull() {
            addCriterion("click_times is null");
            return (Criteria) this;
        }

        public Criteria andClickTimesIsNotNull() {
            addCriterion("click_times is not null");
            return (Criteria) this;
        }

        public Criteria andClickTimesEqualTo(Long value) {
            addCriterion("click_times =", value, "clickTimes");
            return (Criteria) this;
        }

        public Criteria andClickTimesNotEqualTo(Long value) {
            addCriterion("click_times <>", value, "clickTimes");
            return (Criteria) this;
        }

        public Criteria andClickTimesGreaterThan(Long value) {
            addCriterion("click_times >", value, "clickTimes");
            return (Criteria) this;
        }

        public Criteria andClickTimesGreaterThanOrEqualTo(Long value) {
            addCriterion("click_times >=", value, "clickTimes");
            return (Criteria) this;
        }

        public Criteria andClickTimesLessThan(Long value) {
            addCriterion("click_times <", value, "clickTimes");
            return (Criteria) this;
        }

        public Criteria andClickTimesLessThanOrEqualTo(Long value) {
            addCriterion("click_times <=", value, "clickTimes");
            return (Criteria) this;
        }

        public Criteria andClickTimesIn(List<Long> values) {
            addCriterion("click_times in", values, "clickTimes");
            return (Criteria) this;
        }

        public Criteria andClickTimesNotIn(List<Long> values) {
            addCriterion("click_times not in", values, "clickTimes");
            return (Criteria) this;
        }

        public Criteria andClickTimesBetween(Long value1, Long value2) {
            addCriterion("click_times between", value1, value2, "clickTimes");
            return (Criteria) this;
        }

        public Criteria andClickTimesNotBetween(Long value1, Long value2) {
            addCriterion("click_times not between", value1, value2, "clickTimes");
            return (Criteria) this;
        }

        public Criteria andResidenceTimeIsNull() {
            addCriterion("residence_time is null");
            return (Criteria) this;
        }

        public Criteria andResidenceTimeIsNotNull() {
            addCriterion("residence_time is not null");
            return (Criteria) this;
        }

        public Criteria andResidenceTimeEqualTo(Date value) {
            addCriterion("residence_time =", value, "residenceTime");
            return (Criteria) this;
        }

        public Criteria andResidenceTimeNotEqualTo(Date value) {
            addCriterion("residence_time <>", value, "residenceTime");
            return (Criteria) this;
        }

        public Criteria andResidenceTimeGreaterThan(Date value) {
            addCriterion("residence_time >", value, "residenceTime");
            return (Criteria) this;
        }

        public Criteria andResidenceTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("residence_time >=", value, "residenceTime");
            return (Criteria) this;
        }

        public Criteria andResidenceTimeLessThan(Date value) {
            addCriterion("residence_time <", value, "residenceTime");
            return (Criteria) this;
        }

        public Criteria andResidenceTimeLessThanOrEqualTo(Date value) {
            addCriterion("residence_time <=", value, "residenceTime");
            return (Criteria) this;
        }

        public Criteria andResidenceTimeIn(List<Date> values) {
            addCriterion("residence_time in", values, "residenceTime");
            return (Criteria) this;
        }

        public Criteria andResidenceTimeNotIn(List<Date> values) {
            addCriterion("residence_time not in", values, "residenceTime");
            return (Criteria) this;
        }

        public Criteria andResidenceTimeBetween(Date value1, Date value2) {
            addCriterion("residence_time between", value1, value2, "residenceTime");
            return (Criteria) this;
        }

        public Criteria andResidenceTimeNotBetween(Date value1, Date value2) {
            addCriterion("residence_time not between", value1, value2, "residenceTime");
            return (Criteria) this;
        }

        public Criteria andCustomDemandIsNull() {
            addCriterion("custom_demand is null");
            return (Criteria) this;
        }

        public Criteria andCustomDemandIsNotNull() {
            addCriterion("custom_demand is not null");
            return (Criteria) this;
        }

        public Criteria andCustomDemandEqualTo(String value) {
            addCriterion("custom_demand =", value, "customDemand");
            return (Criteria) this;
        }

        public Criteria andCustomDemandNotEqualTo(String value) {
            addCriterion("custom_demand <>", value, "customDemand");
            return (Criteria) this;
        }

        public Criteria andCustomDemandGreaterThan(String value) {
            addCriterion("custom_demand >", value, "customDemand");
            return (Criteria) this;
        }

        public Criteria andCustomDemandGreaterThanOrEqualTo(String value) {
            addCriterion("custom_demand >=", value, "customDemand");
            return (Criteria) this;
        }

        public Criteria andCustomDemandLessThan(String value) {
            addCriterion("custom_demand <", value, "customDemand");
            return (Criteria) this;
        }

        public Criteria andCustomDemandLessThanOrEqualTo(String value) {
            addCriterion("custom_demand <=", value, "customDemand");
            return (Criteria) this;
        }

        public Criteria andCustomDemandLike(String value) {
            addCriterion("custom_demand like", value, "customDemand");
            return (Criteria) this;
        }

        public Criteria andCustomDemandNotLike(String value) {
            addCriterion("custom_demand not like", value, "customDemand");
            return (Criteria) this;
        }

        public Criteria andCustomDemandIn(List<String> values) {
            addCriterion("custom_demand in", values, "customDemand");
            return (Criteria) this;
        }

        public Criteria andCustomDemandNotIn(List<String> values) {
            addCriterion("custom_demand not in", values, "customDemand");
            return (Criteria) this;
        }

        public Criteria andCustomDemandBetween(String value1, String value2) {
            addCriterion("custom_demand between", value1, value2, "customDemand");
            return (Criteria) this;
        }

        public Criteria andCustomDemandNotBetween(String value1, String value2) {
            addCriterion("custom_demand not between", value1, value2, "customDemand");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}